#!/bin/bash
# -----------------------------------------------------------------
# FileName: 2-start-etcd.sh
# Date: 2020-08-26
# Author: jiftle
# Description: 
# -----------------------------------------------------------------
ServerName="网关"

echo "------ 编译 微服务$ServerName"
cd ..
# go build

echo "------ 启动 微服务$ServerName"
MICRO_REGISTRY=etcd \
MICRO_REGISTRY_ADDRESS=127.0.0.1:2379 \
./gf-app

